package dynamicProxy;

/**
 * @Author Yenchingcheng
 * @Date 2023/6/13 19:20
 * @Description
 **/
public class Tiger implements Animal{

    private String name;

    public Tiger(String name) {
        this.name = name;
    }

    public Tiger() {
    }

    @Override
    public void sleep() {
        System.out.println("小老虎"+name+"睡觉了。");
    }

    @Override
    public void wakeUp() {
        System.out.println("小老虎"+name+"睡醒了。");
    }
}
